<template>
  <transition name="move">
      <section class="app" v-show="showApp">
        <div class="go-back" @click="goBack"><i class="iconfont icon-fanhui size"></i></div>
            <div class="app__btn">
            	      <a class="gotoapp">打开玉都APP  随心所欲看直播买翡翠</a>
            </div>
      </section>
    </transition>
</template>
<script>
  export default {
    data () {
      return {
        showApp: false
      }
    },
    methods: {
      dowoloadApp () {
        this.showApp = !this.showApp
      },
      goBack () {
        this.showApp = false
      }
    }
  }
</script>
<style lang="less" scoped>
@import '../common/style/common.less';
 /*分享app*/
.app {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  .bg-image('../images/bg4');
  background-size: cover;
  &__btn {
    position: absolute;
    bottom: 0.72rem;
    left: 0.666667rem;
    right: 0.666667rem;
    .line-height(1.333333rem, 1.333333rem);
    background: #f7af1d;
    text-align: center;
  }
  .gotoapp {
    display: block;
    color: #fff;
    .font-dpr(15px);
  }
  .go-back {
    position: absolute;
    top: 0;
    left: 0.266667rem;
    height: 1.2rem;
    line-height: 1.2rem;
    color: #fff;
    width: 100%;
  }
  .size {
    .font-dpr(24px);
  }
}

.move-enter,
.move-leave-to {
  transform: translate3d(100%, 0, 0);
  opacity: 0;
}

.move-enter-active,
.move-leave-active {
  transition: all 0.2s linear;
}
</style>